package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.manager.model.entity.AdvHomeApplyTbl;

@Mapper
public interface AdvHomeApplyTblMapper extends MyMapper<AdvHomeApplyTbl> {

    List<AdvHomeApplyTbl> findAdvHomeApplyTbl(AdvHomeApplyTbl ahat);

    Integer saveAdvHomeApplyTbl(AdvHomeApplyTbl ahat);

    Integer updateAdvHomeApplyTbl(AdvHomeApplyTbl ahat);

    Long findAdvHomeApplyById(String orderId);

    Integer deleteAdvHomeApplyTbl(AdvHomeApplyTbl ahat);

    AdvHomeApplyTbl selectById(@Param("id") Long id);

    AdvHomeApplyTbl selectByOrderId(String OrderId);
}
